package com.supermap.guangzhou.weifang.entity;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.Arrays;

public class FangWuAnquanXinXi implements Parcelable{
    private Integer id;//主键

    private String dcbbh;//调查表编号

    private Integer fwbsm;//房屋标识码

    private String lszd;//历史宗地	

    private String mph;//门牌号

    private String yfwjg;//原房屋结构

    private Integer ycs;//原层数

    private Double yzdmj;//原占地面积

    private Double yjzmj;//原建筑面积

    private String fwdz;//房屋地址

    private String fwxz;//房屋性质

    private String jznd;//建筑年代

    private String fwjg;//房屋结构

    private String fwyt;//房屋用途

    private String zzsdcs;//住宅层数

    private String fzzsdcs;//非住宅层数

    private String aqdj;//安全等级

    private Double sjcs;//实际层数

    private Double sjjzmj;//实际建筑面积

    private String ywdt;//有无电梯

    private String wxqk;//危险情况

    private String qtwxqk;//XX危险情况

    private String xzqk;//现状情况

    private Integer hdnf;//核对年份

    private String sfjd;//是否鉴定

    private String jddw;//鉴定单位

    private String jdbgbh;//鉴定报告编号

    private String jdsj;//鉴定时间

    private String clyj;//处理意见

    private String dcr;//调查人
    private String dcrq;//调查日期

    private String gxr;//更新人
    private String gxrq;//更新日期

    private String shr;//审核人
    private String shrq;//审核日期

    private String cb;//产别

    private Integer hs;//户数

    private Integer rk;//人口

    private Integer lbh;//楼编号

    private String fwzt;//房屋状态

    private String hbbsm;//合并标识码

    private String cfbsm;//拆分标识码

    private Double zgfmj;//直管房面积

    private Integer xzfwoid;

    private Integer activestate;

    private String xzqmc;//行政区名称

    private String jqmc;//街区名称

    private String jfmc;//街坊名称

    private String fwcb;//房屋产别

    private String fwztbz;//房屋状态备注

    private Integer glfwbsm;

    private Integer tjnf;//统计年份

    private String wlmlx;//外立面类型

    private String wlmlxqt;//外立面类型其他

    private String ywwlmyh;//有无外立面（空调架）隐患

    private String wlmyhsm;//外立面隐患说明

    private String ywxfyh;//有无消防隐患

    private String xfyhsm;//消防隐患说明

    private String ywbyyh;//有无白蚁隐患

    private String byyhsm;//白蚁隐患说明

    private String sflsjz;//是否历史建筑

    private String lxdh;//联系电话

    private String cqlxr;//产权（联系）人

    private byte[] fj;
    
    private String pczt;//普查状态

    public FangWuAnquanXinXi() {
    }



    protected FangWuAnquanXinXi(Parcel in) {
        if (in.readByte() == 0) {
            id = null;
        } else {
            id = in.readInt();
        }
        dcbbh = in.readString();
        if (in.readByte() == 0) {
            fwbsm = null;
        } else {
            fwbsm = in.readInt();
        }
        lszd = in.readString();
        mph = in.readString();
        yfwjg = in.readString();
        if (in.readByte() == 0) {
            ycs = null;
        } else {
            ycs = in.readInt();
        }
        if (in.readByte() == 0) {
            yzdmj = null;
        } else {
            yzdmj = in.readDouble();
        }
        if (in.readByte() == 0) {
            yjzmj = null;
        } else {
            yjzmj = in.readDouble();
        }
        fwdz = in.readString();
        fwxz = in.readString();
        jznd = in.readString();
        fwjg = in.readString();
        fwyt = in.readString();
        zzsdcs = in.readString();
        fzzsdcs = in.readString();
        aqdj = in.readString();
        if (in.readByte() == 0) {
            sjcs = null;
        } else {
            sjcs = in.readDouble();
        }
        if (in.readByte() == 0) {
            sjjzmj = null;
        } else {
            sjjzmj = in.readDouble();
        }
        ywdt = in.readString();
        wxqk = in.readString();
        qtwxqk = in.readString();
        xzqk = in.readString();
        if (in.readByte() == 0) {
            hdnf = null;
        } else {
            hdnf = in.readInt();
        }
        sfjd = in.readString();
        jddw = in.readString();
        jdbgbh = in.readString();
        jdsj = in.readString();
        clyj = in.readString();
        dcr = in.readString();
        dcrq = in.readString();
        gxr = in.readString();
        gxrq = in.readString();
        shr = in.readString();
        shrq = in.readString();
        cb = in.readString();
        if (in.readByte() == 0) {
            hs = null;
        } else {
            hs = in.readInt();
        }
        if (in.readByte() == 0) {
            rk = null;
        } else {
            rk = in.readInt();
        }
        if (in.readByte() == 0) {
            lbh = null;
        } else {
            lbh = in.readInt();
        }
        fwzt = in.readString();
        hbbsm = in.readString();
        cfbsm = in.readString();
        if (in.readByte() == 0) {
            zgfmj = null;
        } else {
            zgfmj = in.readDouble();
        }
        if (in.readByte() == 0) {
            xzfwoid = null;
        } else {
            xzfwoid = in.readInt();
        }
        if (in.readByte() == 0) {
            activestate = null;
        } else {
            activestate = in.readInt();
        }
        xzqmc = in.readString();
        jqmc = in.readString();
        jfmc = in.readString();
        fwcb = in.readString();
        fwztbz = in.readString();
        if (in.readByte() == 0) {
            glfwbsm = null;
        } else {
            glfwbsm = in.readInt();
        }
        if (in.readByte() == 0) {
            tjnf = null;
        } else {
            tjnf = in.readInt();
        }
        wlmlx = in.readString();
        wlmlxqt = in.readString();
        ywwlmyh = in.readString();
        wlmyhsm = in.readString();
        ywxfyh = in.readString();
        xfyhsm = in.readString();
        ywbyyh = in.readString();
        byyhsm = in.readString();
        sflsjz = in.readString();
        lxdh = in.readString();
        cqlxr = in.readString();
        fj = in.createByteArray();
        pczt = in.readString();
    }



    public static final Creator<FangWuAnquanXinXi> CREATOR = new Creator<FangWuAnquanXinXi>() {
        @Override
        public FangWuAnquanXinXi createFromParcel(Parcel in) {
            return new FangWuAnquanXinXi(in);
        }

        @Override
        public FangWuAnquanXinXi[] newArray(int size) {
            return new FangWuAnquanXinXi[size];
        }
    };

    @Override
	public String toString() {
		return "FangWuAnquanXinXi [id=" + id + ", dcbbh=" + dcbbh + ", fwbsm=" + fwbsm + ", lszd=" + lszd + ", mph="
				+ mph + ", yfwjg=" + yfwjg + ", ycs=" + ycs + ", yzdmj=" + yzdmj + ", yjzmj=" + yjzmj + ", fwdz=" + fwdz
				+ ", fwxz=" + fwxz + ", jznd=" + jznd + ", fwjg=" + fwjg + ", fwyt=" + fwyt + ", zzsdcs=" + zzsdcs
				+ ", fzzsdcs=" + fzzsdcs + ", aqdj=" + aqdj + ", sjcs=" + sjcs + ", sjjzmj=" + sjjzmj + ", ywdt=" + ywdt
				+ ", wxqk=" + wxqk + ", qtwxqk=" + qtwxqk + ", xzqk=" + xzqk + ", hdnf=" + hdnf + ", sfjd=" + sfjd
				+ ", jddw=" + jddw + ", jdbgbh=" + jdbgbh + ", jdsj=" + jdsj + ", clyj=" + clyj + ", dcr=" + dcr
				+ ", dcrq=" + dcrq + ", gxr=" + gxr + ", gxrq=" + gxrq + ", shr=" + shr + ", shrq=" + shrq + ", cb="
				+ cb + ", hs=" + hs + ", rk=" + rk + ", lbh=" + lbh + ", fwzt=" + fwzt + ", hbbsm=" + hbbsm + ", cfbsm="
				+ cfbsm + ", zgfmj=" + zgfmj + ", xzfwoid=" + xzfwoid + ", activestate=" + activestate + ", xzqmc="
				+ xzqmc + ", jqmc=" + jqmc + ", jfmc=" + jfmc + ", fwcb=" + fwcb + ", fwztbz=" + fwztbz + ", glfwbsm="
				+ glfwbsm + ", tjnf=" + tjnf + ", wlmlx=" + wlmlx + ", wlmlxqt=" + wlmlxqt + ", ywwlmyh=" + ywwlmyh
				+ ", wlmyhsm=" + wlmyhsm + ", ywxfyh=" + ywxfyh + ", xfyhsm=" + xfyhsm + ", ywbyyh=" + ywbyyh
				+ ", byyhsm=" + byyhsm + ", sflsjz=" + sflsjz + ", lxdh=" + lxdh + ", cqlxr=" + cqlxr + ", fj="
				+ Arrays.toString(fj) + "]";
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDcbbh() {
        return dcbbh;
    }

    public void setDcbbh(String dcbbh) {
        this.dcbbh = dcbbh == null ? null : dcbbh.trim();
    }

    public Integer getFwbsm() {
        return fwbsm;
    }

    public void setFwbsm(Integer fwbsm) {
        this.fwbsm = fwbsm;
    }

    public String getLszd() {
        return lszd;
    }

    public void setLszd(String lszd) {
        this.lszd = lszd == null ? null : lszd.trim();
    }

    public String getMph() {
        return mph;
    }

    public void setMph(String mph) {
        this.mph = mph == null ? null : mph.trim();
    }

    public String getYfwjg() {
        return yfwjg;
    }

    public void setYfwjg(String yfwjg) {
        this.yfwjg = yfwjg == null ? null : yfwjg.trim();
    }

    public Integer getYcs() {
        return ycs;
    }

    public void setYcs(Integer ycs) {
        this.ycs = ycs;
    }

    public Double getYzdmj() {
        return yzdmj;
    }

    public void setYzdmj(Double yzdmj) {
        this.yzdmj = yzdmj;
    }

    public Double getYjzmj() {
        return yjzmj;
    }

    public void setYjzmj(Double yjzmj) {
        this.yjzmj = yjzmj;
    }

    public String getFwdz() {
        return fwdz;
    }

    public void setFwdz(String fwdz) {
        this.fwdz = fwdz == null ? null : fwdz.trim();
    }

    public String getFwxz() {
        return fwxz;
    }

    public void setFwxz(String fwxz) {
        this.fwxz = fwxz == null ? null : fwxz.trim();
    }

    public String getJznd() {
        return jznd;
    }

    public void setJznd(String jznd) {
        this.jznd = jznd == null ? null : jznd.trim();
    }

    public String getFwjg() {
        return fwjg;
    }

    public void setFwjg(String fwjg) {
        this.fwjg = fwjg == null ? null : fwjg.trim();
    }

    public String getFwyt() {
        return fwyt;
    }

    public void setFwyt(String fwyt) {
        this.fwyt = fwyt == null ? null : fwyt.trim();
    }

    public String getZzsdcs() {
        return zzsdcs;
    }

    public void setZzsdcs(String zzsdcs) {
        this.zzsdcs = zzsdcs == null ? null : zzsdcs.trim();
    }

    public String getFzzsdcs() {
        return fzzsdcs;
    }

    public void setFzzsdcs(String fzzsdcs) {
        this.fzzsdcs = fzzsdcs == null ? null : fzzsdcs.trim();
    }

    public String getAqdj() {
        return aqdj;
    }

    public void setAqdj(String aqdj) {
        this.aqdj = aqdj == null ? null : aqdj.trim();
    }

    public Double getSjcs() {
        return sjcs;
    }

    public void setSjcs(Double sjcs) {
        this.sjcs = sjcs;
    }

    public Double getSjjzmj() {
        return sjjzmj;
    }

    public void setSjjzmj(Double sjjzmj) {
        this.sjjzmj = sjjzmj;
    }

    public String getYwdt() {
        return ywdt;
    }

    public void setYwdt(String ywdt) {
        this.ywdt = ywdt == null ? null : ywdt.trim();
    }

    public String getWxqk() {
        return wxqk;
    }

    public void setWxqk(String wxqk) {
        this.wxqk = wxqk == null ? null : wxqk.trim();
    }

    public String getQtwxqk() {
        return qtwxqk;
    }

    public void setQtwxqk(String qtwxqk) {
        this.qtwxqk = qtwxqk == null ? null : qtwxqk.trim();
    }

    public String getXzqk() {
        return xzqk;
    }

    public void setXzqk(String xzqk) {
        this.xzqk = xzqk == null ? null : xzqk.trim();
    }

    public Integer getHdnf() {
        return hdnf;
    }

    public void setHdnf(Integer hdnf) {
        this.hdnf = hdnf;
    }

    public String getSfjd() {
        return sfjd;
    }

    public void setSfjd(String sfjd) {
        this.sfjd = sfjd == null ? null : sfjd.trim();
    }

    public String getJddw() {
        return jddw;
    }

    public void setJddw(String jddw) {
        this.jddw = jddw == null ? null : jddw.trim();
    }

    public String getJdbgbh() {
        return jdbgbh;
    }

    public void setJdbgbh(String jdbgbh) {
        this.jdbgbh = jdbgbh == null ? null : jdbgbh.trim();
    }

    public String getJdsj() {
        return jdsj;
    }

    public void setJdsj(String jdsj) {
        this.jdsj = jdsj;
    }

    public String getClyj() {
        return clyj;
    }

    public void setClyj(String clyj) {
        this.clyj = clyj == null ? null : clyj.trim();
    }

    public String getDcr() {
        return dcr;
    }

    public void setDcr(String dcr) {
        this.dcr = dcr == null ? null : dcr.trim();
    }

    public String getDcrq() {
        return dcrq;
    }

    public void setDcrq(String dcrq) {
        this.dcrq = dcrq;
    }

    public String getGxr() {
        return gxr;
    }

    public void setGxr(String gxr) {
        this.gxr = gxr == null ? null : gxr.trim();
    }

    public String getGxrq() {
        return gxrq;
    }

    public void setGxrq(String gxrq) {
        this.gxrq = gxrq;
    }

    public String getShr() {
        return shr;
    }

    public void setShr(String shr) {
        this.shr = shr == null ? null : shr.trim();
    }

    public String getShrq() {
        return shrq;
    }

    public void setShrq(String shrq) {
        this.shrq = shrq;
    }

    public String getCb() {
        return cb;
    }

    public void setCb(String cb) {
        this.cb = cb == null ? null : cb.trim();
    }

    public Integer getHs() {
        return hs;
    }

    public void setHs(Integer hs) {
        this.hs = hs;
    }

    public Integer getRk() {
        return rk;
    }

    public void setRk(Integer rk) {
        this.rk = rk;
    }

    public Integer getLbh() {
        return lbh;
    }

    public void setLbh(Integer lbh) {
        this.lbh = lbh;
    }

    public String getFwzt() {
        return fwzt;
    }

    public void setFwzt(String fwzt) {
        this.fwzt = fwzt == null ? null : fwzt.trim();
    }

    public String getHbbsm() {
        return hbbsm;
    }

    public void setHbbsm(String hbbsm) {
        this.hbbsm = hbbsm == null ? null : hbbsm.trim();
    }

    public String getCfbsm() {
        return cfbsm;
    }

    public void setCfbsm(String cfbsm) {
        this.cfbsm = cfbsm == null ? null : cfbsm.trim();
    }

    public Double getZgfmj() {
        return zgfmj;
    }

    public void setZgfmj(Double zgfmj) {
        this.zgfmj = zgfmj;
    }

    public Integer getXzfwoid() {
        return xzfwoid;
    }

    public void setXzfwoid(Integer xzfwoid) {
        this.xzfwoid = xzfwoid;
    }

    public Integer getActivestate() {
        return activestate;
    }

    public void setActivestate(Integer activestate) {
        this.activestate = activestate;
    }

    public String getXzqmc() {
        return xzqmc;
    }

    public void setXzqmc(String xzqmc) {
        this.xzqmc = xzqmc == null ? null : xzqmc.trim();
    }

    public String getJqmc() {
        return jqmc;
    }

    public void setJqmc(String jqmc) {
        this.jqmc = jqmc == null ? null : jqmc.trim();
    }

    public String getJfmc() {
        return jfmc;
    }

    public void setJfmc(String jfmc) {
        this.jfmc = jfmc == null ? null : jfmc.trim();
    }

    public String getFwcb() {
        return fwcb;
    }

    public void setFwcb(String fwcb) {
        this.fwcb = fwcb == null ? null : fwcb.trim();
    }

    public String getFwztbz() {
        return fwztbz;
    }

    public void setFwztbz(String fwztbz) {
        this.fwztbz = fwztbz == null ? null : fwztbz.trim();
    }

    public Integer getGlfwbsm() {
        return glfwbsm;
    }

    public void setGlfwbsm(Integer glfwbsm) {
        this.glfwbsm = glfwbsm;
    }

    public Integer getTjnf() {
        return tjnf;
    }

    public void setTjnf(Integer tjnf) {
        this.tjnf = tjnf;
    }

    public String getWlmlx() {
        return wlmlx;
    }

    public void setWlmlx(String wlmlx) {
        this.wlmlx = wlmlx == null ? null : wlmlx.trim();
    }

    public String getWlmlxqt() {
        return wlmlxqt;
    }

    public void setWlmlxqt(String wlmlxqt) {
        this.wlmlxqt = wlmlxqt == null ? null : wlmlxqt.trim();
    }

    public String getYwwlmyh() {
        return ywwlmyh;
    }

    public void setYwwlmyh(String ywwlmyh) {
        this.ywwlmyh = ywwlmyh == null ? null : ywwlmyh.trim();
    }

    public String getWlmyhsm() {
        return wlmyhsm;
    }

    public void setWlmyhsm(String wlmyhsm) {
        this.wlmyhsm = wlmyhsm == null ? null : wlmyhsm.trim();
    }

    public String getYwxfyh() {
        return ywxfyh;
    }

    public void setYwxfyh(String ywxfyh) {
        this.ywxfyh = ywxfyh;
    }

    public String getXfyhsm() {
        return xfyhsm;
    }

    public void setXfyhsm(String xfyhsm) {
        this.xfyhsm = xfyhsm == null ? null : xfyhsm.trim();
    }

    public String getYwbyyh() {
        return ywbyyh;
    }

    public void setYwbyyh(String ywbyyh) {
        this.ywbyyh = ywbyyh == null ? null : ywbyyh.trim();
    }

    public String getByyhsm() {
        return byyhsm;
    }

    public void setByyhsm(String byyhsm) {
        this.byyhsm = byyhsm == null ? null : byyhsm.trim();
    }

    public String getSflsjz() {
        return sflsjz;
    }

    public void setSflsjz(String sflsjz) {
        this.sflsjz = sflsjz == null ? null : sflsjz.trim();
    }

    public String getLxdh() {
        return lxdh;
    }

    public void setLxdh(String lxdh) {
        this.lxdh = lxdh == null ? null : lxdh.trim();
    }

    public String getCqlxr() {
        return cqlxr;
    }

    public void setCqlxr(String cqlxr) {
        this.cqlxr = cqlxr == null ? null : cqlxr.trim();
    }

    public byte[] getFj() {
        return fj;
    }

    public void setFj(byte[] fj) {
        this.fj = fj;
    }

	public String getPczt() {
		return pczt;
	}

	public void setPczt(String pczt) {
		this.pczt = pczt;
	}


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        if (id == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeInt(id);
        }
        dest.writeString(dcbbh);
        if (fwbsm == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeInt(fwbsm);
        }
        dest.writeString(lszd);
        dest.writeString(mph);
        dest.writeString(yfwjg);
        if (ycs == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeInt(ycs);
        }
        if (yzdmj == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeDouble(yzdmj);
        }
        if (yjzmj == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeDouble(yjzmj);
        }
        dest.writeString(fwdz);
        dest.writeString(fwxz);
        dest.writeString(jznd);
        dest.writeString(fwjg);
        dest.writeString(fwyt);
        dest.writeString(zzsdcs);
        dest.writeString(fzzsdcs);
        dest.writeString(aqdj);
        if (sjcs == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeDouble(sjcs);
        }
        if (sjjzmj == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeDouble(sjjzmj);
        }
        dest.writeString(ywdt);
        dest.writeString(wxqk);
        dest.writeString(qtwxqk);
        dest.writeString(xzqk);
        if (hdnf == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeInt(hdnf);
        }
        dest.writeString(sfjd);
        dest.writeString(jddw);
        dest.writeString(jdbgbh);
        dest.writeString(jdsj);
        dest.writeString(clyj);
        dest.writeString(dcr);
        dest.writeString(dcrq);
        dest.writeString(gxr);
        dest.writeString(gxrq);
        dest.writeString(shr);
        dest.writeString(shrq);
        dest.writeString(cb);
        if (hs == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeInt(hs);
        }
        if (rk == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeInt(rk);
        }
        if (lbh == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeInt(lbh);
        }
        dest.writeString(fwzt);
        dest.writeString(hbbsm);
        dest.writeString(cfbsm);
        if (zgfmj == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeDouble(zgfmj);
        }
        if (xzfwoid == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeInt(xzfwoid);
        }
        if (activestate == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeInt(activestate);
        }
        dest.writeString(xzqmc);
        dest.writeString(jqmc);
        dest.writeString(jfmc);
        dest.writeString(fwcb);
        dest.writeString(fwztbz);
        if (glfwbsm == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeInt(glfwbsm);
        }
        if (tjnf == null) {
            dest.writeByte((byte) 0);
        } else {
            dest.writeByte((byte) 1);
            dest.writeInt(tjnf);
        }
        dest.writeString(wlmlx);
        dest.writeString(wlmlxqt);
        dest.writeString(ywwlmyh);
        dest.writeString(wlmyhsm);
        dest.writeString(ywxfyh);
        dest.writeString(xfyhsm);
        dest.writeString(ywbyyh);
        dest.writeString(byyhsm);
        dest.writeString(sflsjz);
        dest.writeString(lxdh);
        dest.writeString(cqlxr);
        dest.writeByteArray(fj);
        dest.writeString(pczt);
    }
}